<?php
return [
    'RBAC' => [
        'type' => 2,
        'children' => [
            '/admin/*',
            '/admin/user/index',
            '/admin/assignment/index',
            '/admin/assignment/view',
            '/admin/assignment/assign',
            '/admin/assignment/revoke',
            '/admin/assignment/*',
            '/admin/default/index',
            '/admin/default/*',
            '/admin/menu/index',
            '/admin/menu/view',
            '/admin/menu/create',
            '/admin/menu/update',
            '/admin/menu/delete',
            '/admin/menu/*',
            '/admin/permission/index',
            '/admin/permission/view',
            '/admin/permission/create',
            '/admin/permission/update',
            '/admin/permission/delete',
            '/admin/permission/assign',
            '/admin/permission/remove',
            '/admin/permission/*',
            '/admin/role/index',
            '/admin/role/view',
            '/admin/role/create',
            '/admin/role/update',
            '/admin/role/delete',
            '/admin/role/assign',
            '/admin/role/remove',
            '/admin/role/*',
            '/admin/route/index',
            '/admin/route/create',
            '/admin/route/assign',
            '/admin/route/remove',
            '/admin/route/refresh',
            '/admin/route/*',
            '/admin/rule/index',
            '/admin/rule/view',
            '/admin/rule/create',
            '/admin/rule/update',
            '/admin/rule/delete',
            '/admin/rule/*',
            '/admin/user/view',
            '/admin/user/delete',
            '/admin/user/login',
            '/admin/user/logout',
            '/admin/user/signup',
            '/admin/user/request-password-reset',
            '/admin/user/reset-password',
            '/admin/user/change-password',
            '/admin/user/activate',
            '/admin/user/*',
            '/admin/index',
            '/admin/view',
            '/admin/create',
            '/admin/update',
            '/admin/delete',
            '/coupon/index',
            '/coupon/create',
            '/coupon/delete',
            '/coupon/update',
            '/coupon-category/index',
            '/coupon-category/update',
            '/coupon-category/create',
            '/coupon-category/delete',
            '/user-coupon/index',
            '/activity/index',
            '/activity/update',
            '/activity/create',
            '/activity/delete',
            '/product/index',
            '/product/create',
            '/product/update',
            '/product/delete',
            '/user/index',
            '/groupbuy/index',
            '/groupbuy/delete',
            '/groupbuy/group',
            '/notice-api/index',
        ],
    ],
    '超级管理员' => [
        'type' => 1,
        'children' => [
            'RBAC',
        ],
    ],
    '/admin/*' => [
        'type' => 2,
    ],
    '/admin/user/index' => [
        'type' => 2,
    ],
    '/admin/assignment/index' => [
        'type' => 2,
    ],
    '/admin/assignment/view' => [
        'type' => 2,
    ],
    '/admin/assignment/assign' => [
        'type' => 2,
    ],
    '/admin/assignment/revoke' => [
        'type' => 2,
    ],
    '/admin/assignment/*' => [
        'type' => 2,
    ],
    '/admin/default/index' => [
        'type' => 2,
    ],
    '/admin/default/*' => [
        'type' => 2,
    ],
    '/admin/menu/index' => [
        'type' => 2,
    ],
    '/admin/menu/view' => [
        'type' => 2,
    ],
    '/admin/menu/create' => [
        'type' => 2,
    ],
    '/admin/menu/update' => [
        'type' => 2,
    ],
    '/admin/menu/delete' => [
        'type' => 2,
    ],
    '/admin/menu/*' => [
        'type' => 2,
    ],
    '/admin/permission/index' => [
        'type' => 2,
    ],
    '/admin/permission/view' => [
        'type' => 2,
    ],
    '/admin/permission/create' => [
        'type' => 2,
    ],
    '/admin/permission/update' => [
        'type' => 2,
    ],
    '/admin/permission/delete' => [
        'type' => 2,
    ],
    '/admin/permission/assign' => [
        'type' => 2,
    ],
    '/admin/permission/remove' => [
        'type' => 2,
    ],
    '/admin/permission/*' => [
        'type' => 2,
    ],
    '/admin/role/index' => [
        'type' => 2,
    ],
    '/admin/role/view' => [
        'type' => 2,
    ],
    '/admin/role/create' => [
        'type' => 2,
    ],
    '/admin/role/update' => [
        'type' => 2,
    ],
    '/admin/role/delete' => [
        'type' => 2,
    ],
    '/admin/role/assign' => [
        'type' => 2,
    ],
    '/admin/role/remove' => [
        'type' => 2,
    ],
    '/admin/role/*' => [
        'type' => 2,
    ],
    '/admin/route/index' => [
        'type' => 2,
    ],
    '/admin/route/create' => [
        'type' => 2,
    ],
    '/admin/route/assign' => [
        'type' => 2,
    ],
    '/admin/route/remove' => [
        'type' => 2,
    ],
    '/admin/route/refresh' => [
        'type' => 2,
    ],
    '/admin/route/*' => [
        'type' => 2,
    ],
    '/admin/rule/index' => [
        'type' => 2,
    ],
    '/admin/rule/view' => [
        'type' => 2,
    ],
    '/admin/rule/create' => [
        'type' => 2,
    ],
    '/admin/rule/update' => [
        'type' => 2,
    ],
    '/admin/rule/delete' => [
        'type' => 2,
    ],
    '/admin/rule/*' => [
        'type' => 2,
    ],
    '/admin/user/view' => [
        'type' => 2,
    ],
    '/admin/user/delete' => [
        'type' => 2,
    ],
    '/admin/user/login' => [
        'type' => 2,
    ],
    '/admin/user/logout' => [
        'type' => 2,
    ],
    '/admin/user/signup' => [
        'type' => 2,
    ],
    '/admin/user/request-password-reset' => [
        'type' => 2,
    ],
    '/admin/user/reset-password' => [
        'type' => 2,
    ],
    '/admin/user/change-password' => [
        'type' => 2,
    ],
    '/admin/user/activate' => [
        'type' => 2,
    ],
    '/admin/user/*' => [
        'type' => 2,
    ],
    '/admin/index' => [
        'type' => 2,
    ],
    '/admin/view' => [
        'type' => 2,
    ],
    '/admin/create' => [
        'type' => 2,
    ],
    '/admin/update' => [
        'type' => 2,
    ],
    '/admin/delete' => [
        'type' => 2,
    ],
    '/coupon/index' => [
        'type' => 2,
    ],
    '/coupon/create' => [
        'type' => 2,
    ],
    '/coupon/delete' => [
        'type' => 2,
    ],
    '/coupon/update' => [
        'type' => 2,
    ],
    '/coupon-category/index' => [
        'type' => 2,
    ],
    '/coupon-category/update' => [
        'type' => 2,
    ],
    '/coupon-category/create' => [
        'type' => 2,
    ],
    '/coupon-category/delete' => [
        'type' => 2,
    ],
    '/user-coupon/index' => [
        'type' => 2,
    ],
    '/activity/index' => [
        'type' => 2,
    ],
    '/activity/update' => [
        'type' => 2,
    ],
    '/activity/create' => [
        'type' => 2,
    ],
    '/activity/delete' => [
        'type' => 2,
    ],
    '/product/index' => [
        'type' => 2,
    ],
    '/product/create' => [
        'type' => 2,
    ],
    '/product/update' => [
        'type' => 2,
    ],
    '/product/delete' => [
        'type' => 2,
    ],
    '/user/index' => [
        'type' => 2,
    ],
    '/groupbuy/index' => [
        'type' => 2,
    ],
    '/groupbuy/delete' => [
        'type' => 2,
    ],
    '/groupbuy/group' => [
        'type' => 2,
    ],
    '/notice-api/index' => [
        'type' => 2,
    ],
];
